package com.mrjy.search.dao;

import java.util.List;

import com.mrjy.common.entity.HotSearchKeywords;

public interface IHotSearchKeywordsDao {
	
	HotSearchKeywords queryById(Integer id);
	
	int insert(HotSearchKeywords keywords);

	int updateById(HotSearchKeywords keywords);
	
	int updateByKeywords(HotSearchKeywords keywords);

	int updateDisableFlag(HotSearchKeywords keywords);
	
	int deleteByIds(HotSearchKeywords keywords);

	int countPageHotSearch(HotSearchKeywords keywords);

	List<HotSearchKeywords> queryPageHotSearch(HotSearchKeywords keywords);
	
	HotSearchKeywords queryByKeywords(String keywords);

	long queryTotalScore(HotSearchKeywords keywords);
}
